<template>
	<view class="u-page">
		<view class="u-demo-block">
			<view>
				<u-steps current="0" dot>
					<u-steps-item title="已下单" desc="10:30"></u-steps-item>
					<u-steps-item title="已出库" desc="10:35"></u-steps-item>
					<u-steps-item title="运输中" desc="11:40"></u-steps-item>
				</u-steps>
			</view>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	onLoad() {},
	onShow() {},
	onPullDownRefresh() {},
	/** 原生导航栏, 自定义按钮数组,点击事件 (生命周期函数)
	 * @param {Object} e obj类型,属性type表示哪个按钮被点击了
	 */
	onNavigationBarButtonTap(e) {
		console.log(e);
		if (e.type === 'menu') {
			this.showMenuDrawer();
		} else if (e.type === 'home') {
			uni.reLaunch({
				url: '/pages/index/index'
			});
		}
	},
	methods: {}
};
</script>

<style lang="scss"></style>
